package com.macro.mall.service;

import com.macro.mall.dto.UmsMemberParam;
import com.macro.mall.dto.UmsMemberQueryParam;
import com.macro.mall.model.UmsMember;

import java.util.List;

/**
 * 会员管理Service
 * Created by P7 on 2021/4/11.
 */
public interface UmsMemberService {
    /**
     * 会员查询
     */
    List<UmsMember> list(UmsMemberQueryParam queryParam, Integer pageSize, Integer pageNum);

    /**
     * 批量修改会员禁启用状态s
     */
    int updateMemberStatus(List<Long> ids, Integer status);

    /**
     * 注册功能
     */
    UmsMember register(UmsMemberParam umsMemberParam);
}
